<input type="radio" name="sex"/> male
<input type="radio" name="sex"/> female
<br/>
<input type="checkbox" name="hobby"/> basketball
<input type="checkbox" name="hobby"/> football
<input type="checkbox" name="hobby"/> pingpong

<br/><br/><br/><br/>

<input type="radio" name="sex2" id="male2"/> <label for="male2">male</label>
<input type="radio" name="sex2" id="female2"/> <label for="female2">female</label>
<br/>
<input type="checkbox" name="hobby" id="basketball"/> <label for="basketball">basketball</label>
<input type="checkbox" name="hobby" id="football"/> <label for="football">football</label>
<input type="checkbox" name="hobby" id="pingpong"/> <label for="pingpong">pingpong</label>
